package com.alibaba.dubbo.demo;

import java.util.List;

import com.alibaba.dubbo.demo.bean.PageBean;
import com.alibaba.dubbo.demo.bean.SysRoleFunc;
public interface SysRoleFuncInterface {

	/**
	 * 获取所有角色功能信息
	 */
	public PageBean queryAllSysRoleFunc(PageBean pageBean,String rolecode,String func);
	public List<SysRoleFunc> queryAllSysRoleFuncList(String rolecode);
	public List<SysRoleFunc> queryAllSysRoleFuncList(int roleid);
	
	//获取SysRoleFunc
	public SysRoleFunc queryOneSysRoleFunc(int id);
	
	//保存SysRoleFunc
	public boolean saveSysRoleFunc(SysRoleFunc sysRoleFunc);
	
	//更新SysRoleFunc
	public boolean updateSysRoleFunc(SysRoleFunc sysRoleFunc);
	public boolean updateSysRoleFuncs(int roleid,String funclist);
	//删除SysRoleFunc
	public boolean deleteSysRoleFunc(int id);
	
	//
	
	
}
